[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
, sectionsegments=chapter, before={\blank[force,2*big]}, after={\blank[3*big]}] \definelist[chaptertext] \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} \defineresetset [default] [0,0] [1

Re: [NTG-context] A book with sections

2021-10-23 Thread Wolfgang Schuster via ntg-context
, do you have a example. - how do I let chapters number on (not restart in each part, and not a x.y number but simply ‘2. Chapter’ Use \defineresetset as shown below. - what is a good way to create actual RHS ‘title’ pages for each chapter? Use a doublesided layout. - how do I get parts

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Henning Hraban Ramm
. I created the command page; not sure if I got the description right: https://wiki.contextgarden.net/Command/defineresetset Hraban ___ If your question is of interest to others as well, please add an entry to th

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Marco Patzer
On Thu, 7 Jan 2021 00:02:20 +0100 Wolfgang Schuster wrote: > > \definestructureresetset is the same as \defineresetset. I assume > > that \definestructureresetset is the preferred way. But both will > > work. > > No, \defineresetset is the main command and

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Wolfgang Schuster
“Independent Section Numbering”: https://wiki.contextgarden.net/Titles \definestructureresetset [default][1,1,0][1] %% reset part, chapter, but not section \setuphead [sectionresetset=default] \definestructureresetset is the same as \defineresetset. I assume

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
https://wiki.contextgarden.net/Titles \definestructureresetset [default][1,1,0][1] %% reset part, chapter, but not section \setuphead [sectionresetset=default] \definestructureresetset is the same as \defineresetset. I assume that \definestructureresetset is the preferred way. But both wil

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread jbf
\defineresetset    [jbfreset] [] [0] \setuphead    [chapter]    [sectionresetset=jbfreset] That does indeed work for me. I had searched everywhere on the wiki and in the manuals for something like this, based on 'reset' but could not find it. While it is clearly something you knew (and I now

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
On Wed, 6 Jan 2021 20:24:07 +1100 jbf wrote: > I need chapter numbers to continue sequentially across several parts. > At the moment, when Part 2 begins, it begins with Chapter 1 once > more, while it should be (in continued sequence) Chapter 4. \defineresetset [jbfreset] [] [0] \

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Adrian
s > >    6. Conversion > >    7. Fundamental theorems on well-formed formulas and on the normal form > > I tried to the following for the chapters: > > \defineconversion[church][Chapter \Romannumerals.\quad] > > \setuphead[chapter][conversion=church] > > Whic

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Wolfgang Schuster
the normal form I tried to the following for the chapters: \defineconversion[church][Chapter \Romannumerals.\quad] \setuphead[chapter][conversion=church] Which appeared to generate the prefix correctly but it overlapped the title. \setuplabeltext [en] [chapter=Chapter ] \defineresetset

[NTG-context] Part numbers

2013-08-11 Thread Tim Steenvoorden
in chapters and sections. How do I do that? Cheers, Tim % Used to be: \setuphead[part][resetnumber=no] \defineresetset[default][1,0][1]% do not reset chapters after parts, reset anything else \starttext \part{ONE} \chapter{one} \chapter{two} \part{TWO} \chapter{three} \chapter{four} \stoptext

Re: [NTG-context] Hiding \part completely except for in the ToC

2013-08-06 Thread Marco Patzer
=none, sectionsegments=chapter] \setuplist [sectiongroup] [pagenumber=no] \defineresetset [none] [] [0] \setupcombinedlist [content] [list={sectiongroup, chapter}] \starttext \completecontent \startsectiongroup [title=First] \startchapter [title=Foo] \stopchapter \startchapter

Re: [NTG-context] Problems with sectionreset key for \setuphead

2012-10-28 Thread Hans Hagen
Hi Wolfgang, there are a few problems with the sectionreset key for \setuphead. In the example below I can only create continues numbers for \section when I “default” as name for \defineresetset (Method 1) or when I apply my own set to the global setups (Method 2). The important second

[NTG-context] Problems with sectionreset key for \setuphead

2012-10-26 Thread Wolfgang Schuster
Hi Hans, there are a few problems with the sectionreset key for \setuphead. In the example below I can only create continues numbers for \section when I “default” as name for \defineresetset (Method 1) or when I apply my own set to the global setups (Method 2). The important second method

Re: [NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Wolfgang Schuster
why does your structure go section-subsubsection? Afair these have depth 3 and 5 respectively, so it would look more consistent to use section-subsection (3-4). +1 I wonder also why he uses such a complicated method for his headings when there is a better way. \defineresetset [none][][0